<script setup lang='ts'>
import AccountInfo from './component/AccountInfo.vue'
import IdentityInfo from './component/IdentityInfo.vue'
import LoginInfo from './component/LoginInfo.vue'
import OrderInfo from './component/OrderInfo.vue'
import OtherService from './component/OtherService.vue'
import RecommendList from './component/RecommendList.vue'
import { reactive, ref, onMounted, getCurrentInstance} from 'vue'

const { proxy } = getCurrentInstance() as any;

const res = (async function initIndex() {
  const res = await proxy._get("user.index/detail");
  console.log(res)
  return res;
})()

</script>

<template>
  <view style="height: calc(100vh - 50px);" class="p-middle-2">

    <!-- 用户登录信息 -->
    <login-info />

    <!-- 账户信息 -->
    <account-info />

    <!-- 订单信息 -->
    <order-info />

    <!-- 身份信息 -->
    <identity-info />

    <!-- 其他服务 -->
    <other-service />

    <!-- 推荐列表 -->
    <recommend-list />
  </view>
</template>

